using Engine;
using Game;
using GameEntitySystem;

namespace SCIENEW {
    public class StirlingEngineDevice : IlluminableDevice, IEntityDevice<ComponentStirlingEngine> {
        public StirlingEngineDevice() : base(
            "StirlingEngineDevice",
            171,
            187
        ) { }

        public string GetEntityName(int value) => "StirlingEngine";

        public Widget GetWidget(IInventory inventory, ComponentStirlingEngine component) => new StirlingEngineWidget(inventory, component);

        public override DeviceBehavior[] GetBehaviors(Project project) => [new StirlingEngineDeviceBehavior(project)];
    }
}